package com.ruoyi.system.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@Api(tags = "传统预定DTO")
public class SyTraditionalReservationDTO {


    @ApiModelProperty("预定人")
    @NotNull(message = "预定人不能为空")
    private String bookingPerson;

    @ApiModelProperty("预定电话")
    @NotNull(message = "预定电话不能为空")
    private String bookingPhone;

    @ApiModelProperty("预定桌台")
    @NotNull(message = "预定桌台不能为空")
    private String bookingDesk;

    @ApiModelProperty("预抵时间")
    @NotNull(message = "预抵时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sstimatedArrivalTime;

    @ApiModelProperty("自动取消时间")
    @NotNull(message = "自动取消时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date automaticallyCancelTime;


    @ApiModelProperty("预定员工")
    @NotNull(message = "预定员工不能为空")
    private String bookingStaff;

    @ApiModelProperty("桌台分类")
    @NotNull(message = "桌台分类不能为空")
    private String deskClassification;

    @ApiModelProperty("是否发送预定短信 1-发送 2-不发送")
    private Integer isSendBookingSms;

    @ApiModelProperty("预定备注")
    private String bookingRemark;
}
